Skip to content

(4/6) Adopt inference caching in core workflows - #97

Open
ErlisLushtaku wants to merge 5 commits into
cache-stack/02b-hosted-providersfrom
cache-stack/03-runtime-adoption
Open

(4/6) Adopt inference caching in core workflows#97
ErlisLushtaku wants to merge 5 commits into
cache-stack/02b-hosted-providersfrom
cache-stack/03-runtime-adoption

Conversation

@ErlisLushtaku

Copy link
Copy Markdown
Collaborator

Description

Adopts the inference cache in the core generation and judging workflows.

  • Adds --store_root to configure completion and judgement caches.
  • Routes generate-and-evaluate, Elo and base generation through the do_inference cache.
  • Keeps dataset-provided completions as direct inputs because they do not run inference.
  • Removes the workflow-specific identity cache paths replaced by the unified cache.

This is stacked on #96.

Tests: uv run pytest; uv run ruff check .; uv run ruff format --check ..

Route generate-and-evaluate, fluency, and ELO through the content-addressed do_inference boundary while removing their pass-level and identity-keyed cache orchestration.
Construct completion and judgement cache contexts explicitly so workflow call sites no longer pass role strings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant